home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_olv_music_head1.cog < prev    next >
Text File  |  1999-11-15  |  646b  |  42 lines

  1. # Jones 3D Cog Script
  2. #
  3. # olv_music_head1.cog
  4. #
  5. # Cog description
  6. #
  7. # [DS]
  8. #
  9. # (C) 1999 LucasArts Entertainment Company LLC. All Rights Reserved
  10. #
  11. # ===================================================================
  12. symbols
  13.  
  14. message    startup
  15. message    entered
  16.  
  17. sector    head1temple
  18. sound        music0=mus_olv_head1.wav        local
  19. thing        player                    local
  20. int        played=0                    local
  21.  
  22. end
  23. # -------------------------------------------------------------------
  24.  
  25. code
  26.  
  27. startup:
  28.     player = GetLocalPlayerThing();
  29.     return;
  30.  
  31. entered:
  32.     if(played == 1) return;
  33.     played=1;
  34.     PlaySoundLocal(music0, 1.0, 0.0, 0x0, 0);
  35.     return;
  36.  
  37. end
  38.  
  39.  
  40.  
  41.  
  42.